package com.gree.flowable.app.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gree.flowable.app.pojo.form.FormInterfaceInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * @author ：180849
 * @date ：Created in 2021/5/24 11:00
 * @description：
 * @modified By：
 * @version: 1.0
 */
@Repository
public interface FormInterfaceInfoMapper extends BaseMapper<FormInterfaceInfo> {
    @Select("SELECT ssu.USERNAME ,ssu.CHINESENAME AS userDesc FROM scm_sys_user ssu WHERE ssu.username = #{username}")
    Map<String,String> getUserDesc(@Param("username")String username);
}
